/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Radiology Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20253 (C-0-T19465-S20096-S20253-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getRadiologyProviderCodes()
 * @model extendedMetaData="name='RadiologyProviderCodes'"
 * @generated
 */
public enum RadiologyProviderCodes implements Enumerator {
	/**
	 * The '<em><b>208500000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_208500000X_VALUE
	 * @generated
	 * @ordered
	 */
	_208500000X(0, "_208500000X", "208500000X"),

	/**
	 * The '<em><b>2085B0100X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085B0100X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085B0100X(1, "_2085B0100X", "2085B0100X"),

	/**
	 * The '<em><b>2085R0202X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085R0202X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085R0202X(2, "_2085R0202X", "2085R0202X"),

	/**
	 * The '<em><b>2085U0001X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085U0001X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085U0001X(3, "_2085U0001X", "2085U0001X"),

	/**
	 * The '<em><b>2085N0700X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085N0700X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085N0700X(4, "_2085N0700X", "2085N0700X"),

	/**
	 * The '<em><b>2085N0904X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085N0904X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085N0904X(5, "_2085N0904X", "2085N0904X"),

	/**
	 * The '<em><b>2085P0229X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085P0229X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085P0229X(6, "_2085P0229X", "2085P0229X"),

	/**
	 * The '<em><b>2085R0001X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085R0001X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085R0001X(7, "_2085R0001X", "2085R0001X"),

	/**
	 * The '<em><b>2085R0205X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085R0205X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085R0205X(8, "_2085R0205X", "2085R0205X"),

	/**
	 * The '<em><b>2085R0203X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085R0203X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085R0203X(9, "_2085R0203X", "2085R0203X"),

	/**
	 * The '<em><b>2085R0204X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2085R0204X_VALUE
	 * @generated
	 * @ordered
	 */
	_2085R0204X(10, "_2085R0204X", "2085R0204X");

	/**
	 * The '<em><b>208500000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>208500000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_208500000X
	 * @model literal="208500000X"
	 * @generated
	 * @ordered
	 */
	public static final int _208500000X_VALUE = 0;

	/**
	 * The '<em><b>2085B0100X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085B0100X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085B0100X
	 * @model literal="2085B0100X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085B0100X_VALUE = 1;

	/**
	 * The '<em><b>2085R0202X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085R0202X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085R0202X
	 * @model literal="2085R0202X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085R0202X_VALUE = 2;

	/**
	 * The '<em><b>2085U0001X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085U0001X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085U0001X
	 * @model literal="2085U0001X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085U0001X_VALUE = 3;

	/**
	 * The '<em><b>2085N0700X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085N0700X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085N0700X
	 * @model literal="2085N0700X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085N0700X_VALUE = 4;

	/**
	 * The '<em><b>2085N0904X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085N0904X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085N0904X
	 * @model literal="2085N0904X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085N0904X_VALUE = 5;

	/**
	 * The '<em><b>2085P0229X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085P0229X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085P0229X
	 * @model literal="2085P0229X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085P0229X_VALUE = 6;

	/**
	 * The '<em><b>2085R0001X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085R0001X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085R0001X
	 * @model literal="2085R0001X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085R0001X_VALUE = 7;

	/**
	 * The '<em><b>2085R0205X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085R0205X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085R0205X
	 * @model literal="2085R0205X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085R0205X_VALUE = 8;

	/**
	 * The '<em><b>2085R0203X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085R0203X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085R0203X
	 * @model literal="2085R0203X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085R0203X_VALUE = 9;

	/**
	 * The '<em><b>2085R0204X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2085R0204X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2085R0204X
	 * @model literal="2085R0204X"
	 * @generated
	 * @ordered
	 */
	public static final int _2085R0204X_VALUE = 10;

	/**
	 * An array of all the '<em><b>Radiology Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final RadiologyProviderCodes[] VALUES_ARRAY =
		new RadiologyProviderCodes[] {
			_208500000X,
			_2085B0100X,
			_2085R0202X,
			_2085U0001X,
			_2085N0700X,
			_2085N0904X,
			_2085P0229X,
			_2085R0001X,
			_2085R0205X,
			_2085R0203X,
			_2085R0204X,
		};

	/**
	 * A public read-only list of all the '<em><b>Radiology Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<RadiologyProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Radiology Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RadiologyProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RadiologyProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Radiology Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RadiologyProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RadiologyProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Radiology Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RadiologyProviderCodes get(int value) {
		switch (value) {
			case _208500000X_VALUE: return _208500000X;
			case _2085B0100X_VALUE: return _2085B0100X;
			case _2085R0202X_VALUE: return _2085R0202X;
			case _2085U0001X_VALUE: return _2085U0001X;
			case _2085N0700X_VALUE: return _2085N0700X;
			case _2085N0904X_VALUE: return _2085N0904X;
			case _2085P0229X_VALUE: return _2085P0229X;
			case _2085R0001X_VALUE: return _2085R0001X;
			case _2085R0205X_VALUE: return _2085R0205X;
			case _2085R0203X_VALUE: return _2085R0203X;
			case _2085R0204X_VALUE: return _2085R0204X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private RadiologyProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //RadiologyProviderCodes
